package otherpackage;

public class OtherPackagePublic {
	private String myPrivateString = "myPrivateString";

	protected String myProtectedString = "myProtectedString";
	String myDefaultString = "myDefaultString";
	public String myPublicString = "myPublicString";

	public OtherPackagePublic() {
		System.out.println("I'm Public. " + this.getClass().getName());
	}

	public String getMyPrivateString() {
		return myPrivateString;
	}

	public void setMyPrivateString(String myPrivateString) {
		this.myPrivateString = myPrivateString;
	}
}
